package com.scan.bus.presenter;


import com.scan.bus.bean.BaseEntity;

/**
 * Created by Administrator on 2017/10/19.
 */

public class SimpleNetDataCallback<T>  implements INetDataCallback<T>  {


    /**
     * 请求成功
     *
     * @param entity
     */
    @Override
    public void onSuccess(BaseEntity<T>  entity) {

    }

    /**
     * 请求成功，但是响应码不是1000
     *
     * @param entity
     */
    @Override
    public void onError(int code, String message, T entity,BaseEntity<T> baseEntity) {

    }

    /**
     * 请求失败
     */
    @Override
    public void onFailure() {

    }

}
